package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document("userevaluate")
public class UserEvaluate implements Serializable {
    //用户评估
    private ObjectId id;
    private Integer uid;//用户id
    private Integer score;//用户分数
    private Integer lock;//枚举: 对应的问卷id是否开放
    private Integer cid;//用户测试出来的cid
    private ObjectId qid;//对应的问卷id


}
